package com.enation.app.web.component.homepage.plugin;

import org.springframework.stereotype.Component;

import com.enation.app.web.core.plugin.homepage.IHomePageTabShowEvent;
import com.enation.framework.plugin.AutoRegisterPlugin;

/**
 * 
 * @function 首页设置插件
 * @author 闯哥
 * @time 2016年10月19日 上午9:28:56
 */
@Component
public class HomePagePlugin extends AutoRegisterPlugin implements
		IHomePageTabShowEvent { 

	@Override
	public String getTabName() {
		// TODO Auto-generated method stub
		return "首页设置";
	}

	@Override
	public int getOrder() {
		// TODO Auto-generated method stub
		return 1;
	}

	@Override
	public boolean canBeExecute() {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public String onShow() {
		// TODO Auto-generated method stub
		return "homepage-setting";
	}

}
